<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
	<head> 
		<title>Untitled Document</title> 
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
		<meta http-equiv="Content-Style-Type" content="text/css"> 
		<meta http-equiv="Content-Script-Type" content="text/javascript"> 
		<script language="JavaScript" type="text/JavaScript"> 
			var posx;var posy; 
			function capmouse(e){ 
				// captures the mouse position 
				posx = 0; posy = 0; 
				if (!e){var e = window.event;} 
				if (e.pageX || e.pageY){ 
					posx = e.pageX; 
					posy = e.pageY; 
				} 
				else if (e.clientX || e.clientY){ 
					posx = e.clientX; 
					posy = e.clientY; 
				} 
			} 
function print(){ 
	document.getElementById('text').innerHTML += posx+','+posy+'<br />';
} 
</script> 
</head> 

<body onmousemove="capmouse(event)"> 
	<img src="map.jpg" onclick="print()"> 
	<div id="text">
	</div>
</body> 
</html> 
